package com.bsj.media.tool.dto;

import lombok.Data;

@Data
public abstract class SendData {

    //h264数据
    private byte[] data;

    private long intervalTime;

    //4状态位数据类型，0是I帧，1是P帧，2是B帧，3是音频帧，4是透传数据
    private int dataType;

    //包序号
    private int pageNo;

    //通道号
    private int channelNo;

    private int payLoad;

    private int nRate;

    private long time;

    abstract public byte[] getNeedData();
}
